package com.findyou.service;

import com.findyou.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.findyou.utils.Result;

/**
* @author Lenovo
* @description 针对表【news_user】的数据库操作Service
* @createDate 2024-03-06 20:06:46
*/
public interface UserService extends IService<User> {

    Result login(User user);

    Result getUserInfo(String token);

    Result checkUserName(String username);

    /**
     * 用户的注册的实现
     * @param user
     * @return
     */
    Result regist(User user);

    Result checkLogin(String token);
}
